package org.example.tliaswebmanagerment.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
//@ConfigurationProperties(prefix = "aliyun.oss")  //批量将多个属性注入到Bean对象中
public class AliyunOSSProperties { //阿里云OSS配置

    private String endpoint="https://oss-cn-beijing.aliyuncs.com";

    private String bucketName="hjj200348";
    private String region="cn-beijing";
}
